﻿


using System;
using System.Text;
using System.Collections;
using System.Xml;
using System.Data;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Resources;
using System.Reflection;
using System.Globalization;
using System.Threading;

using Telerik.WebControls;
using UFSoft.UBF.UI.WebControls;
using UFSoft.UBF.UI.WebControls.InterActionComponenet;
using UFSoft.UBF.Util.Log;
using UFSoft.UBF.Util.Context;

//using MagicAjax.UI.Controls;
using UFSoft.UBF.Report.UI.ReportView.Web;
using UFSoft.UBF.UI.WebControlAdapter;
using UFSoft.UBF.UI.FormProcess;
using UFSoft.UBF.UI.IView;
using UFSoft.UBF.UI.Engine;
using UFSoft.UBF.UI.Engine.Builder;
using UFSoft.UBF.UI.Engine.Authorization;
using UFSoft.UBF.UI.MD.Runtime;
using UFSoft.UBF.UI.ActionProcess;
using UFSoft.UBF.UI.ControlModel;
using UFSoft.UBF.UI.Controls;
using UFSoft.UBF.UI.WebControls.Association;
using UFSoft.UBF.UI.WebControls.ClientCallBack;
using System.Web.UI;
using UFSoft.UBF.UI.UIFormPersonalization;
using System.Collections.Specialized;


/***********************************************************************************************
 * Form ID:ce9a594c-2b5e-4c5c-b575-c4917e324bb8 
 * Form Name:DeliverUIForm
 * UIFactory Auto Generator
 ***********************************************************************************************/
namespace UFIDA.U9.Cust.U9Demo.DeliverUI
{
	[FormRegister("UFIDA.U9.Cust.U9Demo.DeliverUI","UFIDA.U9.Cust.U9Demo.DeliverUI.DeliverUIFormWebPart", "UFIDA.U9.Cust.U9Demo.DeliverUI.WebPart", "ce9a594c-2b5e-4c5c-b575-c4917e324bb8","WebPart", "True", 992, 504)] 
	///insert into aspnet_Parts (SysVersion, Path, ClassName, [Assembly], FormId) values (0, 'UFIDA.U9.Cust.U9Demo.DeliverUI', 'UFIDA.U9.Cust.U9Demo.DeliverUI.DeliverUIFormWebPart', 'UFIDA.U9.Cust.U9Demo.DeliverUI.WebPart', 'ce9a594c-2b5e-4c5c-b575-c4917e324bb8')
	///<siteMapNode url="~/erp/simple.aspx?lnk=ce9a594c-2b5e-4c5c-b575-c4917e324bb8" title="DeliverUIForm"/>
    public partial class DeliverUIFormWebPart : UFSoft.UBF.UI.FormProcess.BaseWebForm
    {
		#region Page Controller/Code Behind
        private static readonly ILogger logger = LoggerManager.GetLogger(typeof(DeliverUIFormWebPart));
        private string assemblyName = System.Reflection.Assembly.GetExecutingAssembly().FullName;
        //private string displayNamePostfix = "displayName";

		#region 强类型化基类属性.
		public new DeliverUIModelAction Action
		{
			get { return (DeliverUIModelAction)base.Action; }
			set { base.Action = value; }
		}
		DeliverUIModelModel _uimodel=null;
		public new DeliverUIModelModel Model
		{
			get 
			{
			     if(_uimodel == null){
			          _uimodel = new DeliverUIModelModel();
			     }
			     return _uimodel; 
			}
			set { _uimodel = value; }
		}
        protected override IUIModel UIModel{
            get{
                return this.Model;
            }
            set{
                this.Model = value as DeliverUIModelModel;
            }
        }
		#endregion 
		public FormAdjust adjust;
        #region variable declaration
        IUFToolbar Toolbar2;
        IUFButton BtnSave;
        IUFButton BtnCancel;
        IUFButton BtnAdd;
        IUFButton BtnDelete;
        IUFSeparator Separator0;
        IUFButton BtnCopy;
        IUFSeparator Separator1;
        IUFButton BtnSubmit;
        IUFButton BtnApprove;
        IUFButton BtnUndoApprove;
        IUFSeparator Separator2;
        IUFButton BtnFind;
        IUFButton BtnList;
        IUFSeparator Separator3;
        IUFButton BtnFirstPage;
        IUFButton BtnPrevPage;
        IUFButton BtnNextPage;
        IUFButton BtnLastPage;
        IUFSeparator Separator4;
        IUFButton BtnAttachment;
        IUFButton BtnFlow;
        IUFSeparator Separator5;
        IUFButton BtnOutput;
        IUFButton BtnPrint;
        IUFCard Card0;
        IUFButton BtnOk;
        IUFButton BtnClose;
        IUFButton OnPushRcv130;
        IUFDropDownButton DropDownButton0;
        IUFMenu OnPullPOList;
        IUFMenu OnPullPOCust;
        IUFButton btnBack;
        IUFButton OnPullPORef381;
        IUFButton BtnInvReport;
        IUFCard Card3;
        IUFTabControl TabControl0;
        IUFTabPage TabPage0;
        IUFLabel lblID83;
        IUFFldNumberControl ID83;
        IUFLabel lblSysVersion80;
        IUFFldNumberControl SysVersion80;
        IUFLabel lblDocumentType104;
        IUFFldReference DocumentType104;
        IUFLabel lblDocNo70;
        IUFFldTextBox DocNo70;
        IUFLabel lblBusinessDate122;
        IUFFldDatePicker BusinessDate122;
        IUFLabel lblSupplier149;
        IUFFldReference Supplier149;
        IUFLabel lblOwnOrg206;
        IUFFldReference OwnOrg206;
        IUFLabel lblStatus149;
        IUFFldDropDownList Status149;
        IUFLabel lblDeliver128;
        IUFFldReference Deliver128;
        IUFLabel lblCurrency125;
        IUFFldReference Currency125;
        IUFFldFlexFieldPicker FlexFieldPicker0;
        IUFLabel lblDocumentType_DocHeaderSequenceStyle143;
        IUFFldDropDownList DocumentType_DocHeaderSequenceStyle143;
        IUFTabPage TabPage1;
        IUFLabel lblMemo80;
        IUFFldTextBox Memo80;
        IUFDataGrid DataGrid9;
		UpdatePanel updatePanel;
		HiddenField wpFindID;
		IUFContainer topLevelPanel;     
        IUFSeparator SeparatorInFavorites;
        IUFButton BtnDefaultValues;
        #endregion
        
        #region constructor
        public DeliverUIFormWebPart()
        {
            FormID = "ce9a594c-2b5e-4c5c-b575-c4917e324bb8";
            IsAutoSize = bool.Parse("True");
        }
        #endregion


	
            
	//获取档案版型结果: 

        #region eventBind and databind
        private void EventBind()
        {
			//事件绑定模板
				//Button控件事件
			this.BtnSave.Click += new EventHandler(BtnSave_Click);		
						
				//Button控件事件
			this.BtnCancel.Click += new EventHandler(BtnCancel_Click);		
						
				//Button控件事件
			this.BtnAdd.Click += new EventHandler(BtnAdd_Click);		
						
				//Button控件事件
			this.BtnDelete.Click += new EventHandler(BtnDelete_Click);		
						
				//Button控件事件
			this.BtnCopy.Click += new EventHandler(BtnCopy_Click);		
						
				//Button控件事件
			this.BtnSubmit.Click += new EventHandler(BtnSubmit_Click);		
						
				//Button控件事件
			this.BtnApprove.Click += new EventHandler(BtnApprove_Click);		
						
				//Button控件事件
			this.BtnUndoApprove.Click += new EventHandler(BtnUndoApprove_Click);		
						
				//Button控件事件
			this.BtnFind.Click += new EventHandler(BtnFind_Click);		
						
				//Button控件事件
			this.BtnList.Click += new EventHandler(BtnList_Click);		
						
				//Button控件事件
			this.BtnFirstPage.Click += new EventHandler(BtnFirstPage_Click);		
						
				//Button控件事件
			this.BtnPrevPage.Click += new EventHandler(BtnPrevPage_Click);		
						
				//Button控件事件
			this.BtnNextPage.Click += new EventHandler(BtnNextPage_Click);		
						
				//Button控件事件
			this.BtnLastPage.Click += new EventHandler(BtnLastPage_Click);		
						
				//Button控件事件
			this.BtnAttachment.Click += new EventHandler(BtnAttachment_Click);		
						
				//Button控件事件
			this.BtnFlow.Click += new EventHandler(BtnFlow_Click);		
						
				//Button控件事件
			this.BtnOutput.Click += new EventHandler(BtnOutput_Click);		
						
				//Button控件事件
			this.BtnPrint.Click += new EventHandler(BtnPrint_Click);		
						
				//Button控件事件
			this.BtnOk.Click += new EventHandler(BtnOk_Click);		
						
				//Button控件事件
			this.BtnClose.Click += new EventHandler(BtnClose_Click);		
						
				//Button控件事件
			this.OnPushRcv130.Click += new EventHandler(OnPushRcv130_Click);		
						
				//DropDownButton下面的MenuModel控件事件
			this.OnPullPOList.ItemClick += new MenuItemHandle(OnPullPOList_Click);
			((PopMenuItem)this.OnPullPOList).MethodName = "OnPullPOList_Click";				
				
				//DropDownButton下面的MenuModel控件事件
			this.OnPullPOCust.ItemClick += new MenuItemHandle(OnPullPOCust_Click);
			((PopMenuItem)this.OnPullPOCust).MethodName = "OnPullPOCust_Click";				
				
				//Button控件事件
			this.btnBack.Click += new EventHandler(btnBack_Click);		
						
				//Button控件事件
			this.OnPullPORef381.Click += new EventHandler(OnPullPORef381_Click);		
						
							

			
			//Grid控件的分页事件				
			((UFWebDataGridAdapter)this.DataGrid9).GridMakePageEventHandler += new GridMakePageDelegate(UFGridDataGrid9_GridMakePageEventHandler);
             //Grid控件的客户化筛选，定位事件
            ((UFWebDataGridAdapter)this.DataGrid9).GridCustomFilterHandler += new GridCustomFilterDelegate(UFGridDataGrid9_GridCustomFilterHandler);

            AfterEventBind();
        }
        #endregion            
        
		#region override method
		protected override void OnLoad(EventArgs e)
		{
			base.OnLoad2(e);
		}
		protected override void OnLoadDataDo(EventArgs e)
		{
		    adjust.ProcessAdjustBeforeOnLoad(this);
			if (UIEngineHelper.IsDataBind(PageStatus, this))
			{
				if(this.Model==null){				        
					this.Model = new DeliverUIModelModel();
				}
				OnLoadConsumer(new InParameterModel[]{},new InParameterModel[]{});
				OnLoadData(this);
				this.IsDataBinding = true ; //加载完数据要绑定一次.目前加这.
			}
			else
			{
				//去除.已经移入到OnInit()中.
				//this.Model = (DeliverUIModelModel)this.CurrentState[this.TaskId.ToString()];
			}
			adjust.ProcessAdjustAfterOnLoadData(this);
		            AfterOnLoad();
            
            adjust.ProcessAdjustAfterOnLoad(this);
		}
		protected override void OnPreRender(EventArgs e)
		{
			base.OnPreRender2(e);
		}
        protected override void OnPreRenderDo(EventArgs e)
        {
            adjust.ProcessAdjustBeforeOnPreRender(this);
			base.OnPreRender(e);
			this.CurrentState[this.TaskId.ToString()] = this.Model;
			RegisterClearWebPartPadding();
            UFIDA.U9.UI.PDHelper.FormAuthorityHelper.SetWebPartAuthorization(this);
            
			if (IsDataBinding) //2006-9-7 可由开发人员控制
			{
				BeforeUIModelBinding();
				//BtnFind对应隐藏域的数据传递。:True
				UFIDA.U9.UI.PDHelper.CommonReferenceHelper.BindingBtnFindParam(this);
								if(!Page.IsPostBack)
				{
					EnumTypeBinding.BindEnumControls(this);
				}
				UFIDA.U9.UI.Commands.CommandHelper.BindFlexData(this);
				adjust.ProcessAdjustBeforeDataBinding(this);
				if (this.IsOnlyDataBinding)
				{
					this.DataBinding();
				}
				adjust.ProcessAdjustAfterDataBinding(this);

				AfterUIModelBinding();
			}
			adjust.ProcessAdjustAfterOnPreRender(this);
        }
		protected override void OnInit(EventArgs e)
		{
			base.OnInit2(e);
		}
		protected override void OnInitDo(EventArgs e)
		{			 
			this.Page.InitComplete += new EventHandler(Page_InitComplete);
			WebPartBuilder.InitWebPart(this);
            this.Action = new DeliverUIModelAction(this);
            adjust = new FormAdjust();
		    CreateFormChildControls();
		}
        void Page_InitComplete(object sender, EventArgs e)
        {

            adjust.ProcessInit(this);
        }
        #endregion

      
        
        #endregion

	
		/// <summary>
        /// WebPart View
        /// </summary>
        #region view Create Contorls
        private void CreateFormChildControls()
        {
            IUFContainer _panel = UIControlBuilder.BuildTopLevelContainer(this,"DeliverUIForm",true,992,504);
            CommonBuilder.ContainerGridLayoutPropBuilder(_panel, 1, 3, 0, 10, 0, 0, 0, 5);
			InitViewBindingContainer(this, _panel,  null, "", "", null, 1, "");
			UIControlBuilder.BuildContainerGridLayout(_panel, 10,new GridColumnDef[]{new GridColumnDef(992,bool.Parse("False")),},new GridRowDef[]{new GridRowDef(28,bool.Parse("True")),new GridRowDef(421,bool.Parse("False")),new GridRowDef(25,bool.Parse("True")),});
            //???还有用么?
            topLevelPanel = _panel;    
            
            UIControlBuilder.BuildCommonControls(this,ref updatePanel,ref wpFindID);
            





	
			_BuilderControl_Toolbar2(_panel);

		
			UIControlBuilder.BuilderUFControl(this.Toolbar2, "1");		


	
			_BuilderControl_Card0(_panel);

		
			UIControlBuilder.BuilderUFControl(this.Card0, "3");		


	
			_BuilderControl_Card3(_panel);

		
			UIControlBuilder.BuilderUFControl(this.Card3, "2");		



			
     
			
			
            EventBind();
            AfterCreateChildControls();
            
        }        







				        
        private void _BuilderControl_Toolbar2(IUFContainer container)
        {
            IUFToolbar _Toolbar = UIControlBuilder.BuilderToolBarControl(container,"Toolbar2",true, true, "1",992, 28, 0, 0, 1, 1,"100");
            this.Toolbar2 = _Toolbar;
            
            ///foreach Toolbar下的所有控件，增加到此容器
                            this.BtnSave = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnSave", "True", "True", 35, 28,"1", "",true,false,"8288c5a3-3b19-48d3-b139-f7018d2782ee","8288c5a3-3b19-48d3-b139-f7018d2782ee","cc432de4-0a6a-445d-9852-8f5ea927a549");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnSave);
            this.BtnSave.UIModel = this.Model.ElementID;
            this.BtnSave.Action = "SaveClick";
	                            this.BtnCancel = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnCancel", "True", "True", 35, 28,"2", "",true,false,"f35cb480-9e8f-4689-aaac-3e9fc9a0c65e","f35cb480-9e8f-4689-aaac-3e9fc9a0c65e","fbe9ce95-54fd-4867-9c42-36d2a9f28f76");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnCancel);
            this.BtnCancel.UIModel = this.Model.ElementID;
            this.BtnCancel.Action = "CancelClick";
	                            this.BtnAdd = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnAdd", "True", "True", 35, 28,"3", "",true,false,"19478b02-d2a9-4d7e-b7af-00070c61ff2d","19478b02-d2a9-4d7e-b7af-00070c61ff2d","3ff42296-982b-4fd7-b4e1-fcc9f205ccd8");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnAdd);
            this.BtnAdd.UIModel = this.Model.ElementID;
            this.BtnAdd.Action = "NewClick";
	                            this.BtnDelete = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnDelete", "True", "True", 35, 28,"4", "",true,false,"0467218f-229b-4954-b2d4-3c5976467f76","0467218f-229b-4954-b2d4-3c5976467f76","dcd9b35a-7302-41cb-a61b-6d21c92b6b57");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnDelete);
            this.BtnDelete.UIModel = this.Model.ElementID;
            this.BtnDelete.Action = "DeleteClick";
	                            _Toolbar.Controls.Add(new UFWebToolbarSeparatorAdapter());
			                            this.BtnCopy = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnCopy", "True", "True", 35, 28,"6", "",true,false,"be9f8d20-e484-464b-9818-a2c1b599b967","be9f8d20-e484-464b-9818-a2c1b599b967","2ae668b7-3292-4e5a-ad3f-f613211e896c");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnCopy);
            this.BtnCopy.UIModel = this.Model.ElementID;
            this.BtnCopy.Action = "CopyClick";
	                            _Toolbar.Controls.Add(new UFWebToolbarSeparatorAdapter());
			                            this.BtnSubmit = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnSubmit", "True", "True", 35, 28,"8", "",true,false,"c42c0f21-2fd7-49b2-ac54-62f811747b18","c42c0f21-2fd7-49b2-ac54-62f811747b18","6d30f36e-0cb9-448c-9c17-197c1a4d0182");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnSubmit);
            this.BtnSubmit.UIModel = this.Model.ElementID;
            this.BtnSubmit.Action = "SubmitClick";
	                            this.BtnApprove = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnApprove", "True", "True", 35, 28,"9", "",true,false,"eb678a04-c7e1-44f1-b175-8f90f9903862","eb678a04-c7e1-44f1-b175-8f90f9903862","3abfbd6c-30d8-4abf-8093-88093050fb40");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnApprove);
            this.BtnApprove.UIModel = this.Model.ElementID;
            this.BtnApprove.Action = "ApproveClick";
	                            this.BtnUndoApprove = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnUndoApprove", "True", "True", 35, 28,"10", "",true,false,"ae796775-bce3-4aed-89a9-20eaa4648a67","ae796775-bce3-4aed-89a9-20eaa4648a67","5448286d-b7a4-4dbe-8391-5c8968cfc9f2");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnUndoApprove);
            this.BtnUndoApprove.UIModel = this.Model.ElementID;
            this.BtnUndoApprove.Action = "UnApproveClick";
	                            _Toolbar.Controls.Add(new UFWebToolbarSeparatorAdapter());
			                            this.BtnFind = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnFind", "True", "True", 35, 28,"12", "",true,false,"27621430-7bc7-4c0e-979e-f0108439d13e","27621430-7bc7-4c0e-979e-f0108439d13e","2bb20aac-f1aa-4eeb-8b4d-a6bc4adc2c10");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnFind);
            this.BtnFind.UIModel = this.Model.ElementID;
            this.BtnFind.Action = "FindClick";
	                            this.BtnList = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnList", "True", "True", 35, 28,"13", "",true,false,"c639596b-5a8c-4fc1-88bb-a3d670cda992","c639596b-5a8c-4fc1-88bb-a3d670cda992","6ddb3971-c1dc-4513-b879-0fd8fe2662f3");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnList);
            this.BtnList.UIModel = this.Model.ElementID;
            this.BtnList.Action = "ListClick";
	                            _Toolbar.Controls.Add(new UFWebToolbarSeparatorAdapter());
			                            this.BtnFirstPage = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnFirstPage", "True", "True", 35, 28,"15", "",true,false,"f229e163-fcd1-4f6a-a645-df86c0efd8ec","f229e163-fcd1-4f6a-a645-df86c0efd8ec","3346642f-cd25-4685-9005-f5430fb04126");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnFirstPage);
            this.BtnFirstPage.UIModel = this.Model.ElementID;
            this.BtnFirstPage.Action = "FirstPage";
	                            this.BtnPrevPage = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnPrevPage", "True", "True", 35, 28,"16", "",true,false,"5ed368d8-7616-4696-b671-3f1c895f3b43","5ed368d8-7616-4696-b671-3f1c895f3b43","cdf02cc8-565e-44db-9115-b9b6083a2a74");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnPrevPage);
            this.BtnPrevPage.UIModel = this.Model.ElementID;
            this.BtnPrevPage.Action = "PrevPage";
	                            this.BtnNextPage = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnNextPage", "True", "True", 35, 28,"17", "",true,false,"36afec41-957c-493a-97a4-eddb136af5b4","36afec41-957c-493a-97a4-eddb136af5b4","3651df70-30cb-4738-a6eb-8a4670e5459d");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnNextPage);
            this.BtnNextPage.UIModel = this.Model.ElementID;
            this.BtnNextPage.Action = "NextPage";
	                            this.BtnLastPage = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnLastPage", "True", "True", 35, 28,"18", "",true,false,"dc4a37d1-35de-4016-81dd-582aef3cdeb0","dc4a37d1-35de-4016-81dd-582aef3cdeb0","70beec71-4a72-4120-9394-aaf31b6ff9fd");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnLastPage);
            this.BtnLastPage.UIModel = this.Model.ElementID;
            this.BtnLastPage.Action = "LastPage";
	                            _Toolbar.Controls.Add(new UFWebToolbarSeparatorAdapter());
			                            this.BtnAttachment = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnAttachment", "True", "True", 35, 28,"20", "",true,false,"92ccef79-ad54-438c-a16e-20a4fd407b97","92ccef79-ad54-438c-a16e-20a4fd407b97","00f31a19-3f51-49cd-8280-e3d85632c6a1");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnAttachment);
            this.BtnAttachment.UIModel = this.Model.ElementID;
            this.BtnAttachment.Action = "AttachmentClick";
	                            this.BtnFlow = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnFlow", "True", "True", 35, 28,"21", "",true,false,"e222698c-ae3c-470a-8053-1b69905c510a","e222698c-ae3c-470a-8053-1b69905c510a","740463e6-680f-4993-9961-5d643e2baad3");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnFlow);
            this.BtnFlow.UIModel = this.Model.ElementID;
            this.BtnFlow.Action = "FlowClick";
	                            _Toolbar.Controls.Add(new UFWebToolbarSeparatorAdapter());
			                            this.BtnOutput = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnOutput", "True", "True", 35, 28,"23", "",true,false,"688fd549-5a92-49cc-8072-6d5377f6409a","688fd549-5a92-49cc-8072-6d5377f6409a","f66f6c81-377d-432a-aedb-da9b04d47539");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnOutput);
            this.BtnOutput.UIModel = this.Model.ElementID;
            this.BtnOutput.Action = "OutputClick";
	                            this.BtnPrint = UIControlBuilder.BuilderToolbarButton(_Toolbar, "True", "BtnPrint", "True", "True", 35, 28,"24", "",true,false,"27b5c615-cde5-458c-be74-833317249568","27b5c615-cde5-458c-be74-833317249568","10bbc049-491c-44b1-9125-0aeb0c09bcd6");
		
            UIControlBuilder.SetButtonAccessKey(this.BtnPrint);
            this.BtnPrint.UIModel = this.Model.ElementID;
            this.BtnPrint.Action = "PrintClick";
	
            
            ((UFWebToolbarAdapter)_Toolbar).RemoveControls();
        }



	                   
        private IUFCard _BuilderControl_Card0(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container,"Card0",false,"FunctionBar", true, true, "3","","72237ec4-d77a-474e-9f78-f025abda0d37");
			CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 992, 25, 0, 2, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 22, 1, 0, 5, 10, 3, 10, 2);
			InitViewBindingContainer(this, _UFCard,  null, "", "", null, 1, "");
			UIControlBuilder.BuildContainerGridLayout(_UFCard, 5,new GridColumnDef[]{new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(71,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(10,bool.Parse("True")),new GridColumnDef(80,bool.Parse("True")),new GridColumnDef(1,bool.Parse("False")),},new GridRowDef[]{new GridRowDef(20,bool.Parse("True")),});
            this.Card0 = _UFCard;

            ///foreach UFCard下的所有控件，增加到此容器





				this.BtnOk = UIControlBuilder.BuilderUFButton(_UFCard, true, "BtnOk", true, true, 80, 20, 18, 0, 1, 1, "100","", this.Model.ElementID,"OnOk",false,"626ebf9b-f65a-4dd5-8f32-96f84919878c","626ebf9b-f65a-4dd5-8f32-96f84919878c","a525ab6d-fe95-4f4b-8138-b85f9336f21d");
	

		
			UIControlBuilder.BuilderUFControl(this.BtnOk, "9");		


				this.BtnClose = UIControlBuilder.BuilderUFButton(_UFCard, true, "BtnClose", true, true, 80, 20, 20, 0, 1, 1, "100","Z", this.Model.ElementID,"OnClose",false,"020a5365-8f12-4970-b8df-17ce3ae60a68","020a5365-8f12-4970-b8df-17ce3ae60a68","19a036cb-79fe-41ed-9589-6c25cf116346");
	

		
			UIControlBuilder.BuilderUFControl(this.BtnClose, "10");		


				this.OnPushRcv130 = UIControlBuilder.BuilderUFButton(_UFCard, true, "OnPushRcv130", true, true, 80, 20, 4, 0, 1, 1, "100","", this.Model.ElementID,"OnPushRcv",false,"8ec8e86f-411e-43c4-b12d-0051b46b951c","8ec8e86f-411e-43c4-b12d-0051b46b951c","f6db34ac-98b2-47e2-addf-7d668ec5b39a");
	

		
			UIControlBuilder.BuilderUFControl(this.OnPushRcv130, "12");		


	
			_BuilderControl_DropDownButton0(_UFCard);

		
			UIControlBuilder.BuilderUFControl(this.DropDownButton0, "13");		


				this.btnBack = UIControlBuilder.BuilderUFButton(_UFCard, true, "btnBack", true, false, 80, 20, 0, 0, 1, 1, "100","", this.Model.ElementID,"",false,"44f4b23e-6433-43cf-8b79-a5e177976b86","","44f4b23e-6433-43cf-8b79-a5e177976b86");
	

		
			UIControlBuilder.BuilderUFControl(this.btnBack, "14");		


				this.OnPullPORef381 = UIControlBuilder.BuilderUFButton(_UFCard, true, "OnPullPORef381", true, true, 80, 20, 2, 0, 1, 1, "100","", this.Model.ElementID,"OnPullPORef",false,"a62e3866-05f4-4214-a1a7-e8435c0baab6","a62e3866-05f4-4214-a1a7-e8435c0baab6","8fc579b0-d242-44f5-9df5-65f44c5998d0");
	

		
			UIControlBuilder.BuilderUFControl(this.OnPullPORef381, "15");		


				this.BtnInvReport = UIControlBuilder.BuilderUFButton(_UFCard, true, "BtnInvReport", true, false, 80, 20, 0, 0, 1, 1, "100","", this.Model.ElementID,"",false,"dd1921b1-adb3-4e94-b80e-7538678ad5ba","","dd1921b1-adb3-4e94-b80e-7538678ad5ba");
	

		
			UIControlBuilder.BuilderUFControl(this.BtnInvReport, "16");		



							

            
            container.Controls.Add(_UFCard);
            return _UFCard;
        }

				       
        private void _BuilderControl_DropDownButton0(IUFContainer container)
        {
            IUFDropDownButton _dropDownButton = UIControlBuilder.BuildDropDownButton(container,"DropDownButton0",true, true,"13"
            , 80, 20, 0, 0, 1, 1, "100","65362b20-8ef0-4568-ae3c-a30d988be2af","65362b20-8ef0-4568-ae3c-a30d988be2af");
            this.DropDownButton0 = _dropDownButton;
            
            ///foreach DropDownButton下的所有控件，增加到此容器
	                 this.OnPullPOList = UIControlBuilder.BuildDropDownButtonMenu(container,_dropDownButton,0,"OnPullPOList","", true, true,true,false,"OnPullPOList","455bd5b9-764a-44da-97b4-64eb730bff9e","455bd5b9-764a-44da-97b4-64eb730bff9e","c51cf950-25b7-4065-a891-c38d6cfab6e7") ;
		 			
	                 this.OnPullPOCust = UIControlBuilder.BuildDropDownButtonMenu(container,_dropDownButton,0,"OnPullPOCust","", true, true,true,false,"OnPullPOCust","e88fdd9b-b6cb-4fdf-b4bf-b952813c050a","e88fdd9b-b6cb-4fdf-b4bf-b952813c050a","48dd7d17-e972-4db5-a36e-7eadbc7ce220") ;
		 			
        }

	                   
        private IUFCard _BuilderControl_Card3(IUFContainer container)
        {
            IUFCard _UFCard = UIControlBuilder.BuildCard(container,"Card3",false,"none", true, true, "2","","0863a992-6e25-430e-ae8e-6ff0e966935c");
			CommonBuilder.GridLayoutPropBuilder(container, _UFCard, 992, 421, 0, 1, 1, 1, "100");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFCard, 2, 3, 0, 10, 10, 0, 10, 0);
			InitViewBindingContainer(this, _UFCard,  null, "", "", null, 1, "");
			UIControlBuilder.BuildContainerGridLayout(_UFCard, 10,new GridColumnDef[]{new GridColumnDef(971,bool.Parse("False")),new GridColumnDef(1,bool.Parse("True")),},new GridRowDef[]{new GridRowDef(155,bool.Parse("True")),new GridRowDef(245,bool.Parse("False")),new GridRowDef(1,bool.Parse("False")),});
            this.Card3 = _UFCard;

            ///foreach UFCard下的所有控件，增加到此容器





	
			_BuilderControl_TabControl0(_UFCard);

		
			UIControlBuilder.BuilderUFControl(this.TabControl0, "1");		


	
			_BuilderControl_DataGrid9(_UFCard);

		
			UIControlBuilder.BuilderUFControl(this.DataGrid9, "2");		



		

            
            container.Controls.Add(_UFCard);
            return _UFCard;
        }

	         private void _BuilderControl_TabControl0(IUFContainer container)
        {
            IUFTabControl _UFTabControl = UIControlBuilder.BuildTabControl(container,"TabControl0",true, true, "1",EventResponseType.Client,972, 155, 0, 0, 2, 1, "100");
            ///foreach UFTabbedPane下的所有控件，增加到此容器
            _UFTabControl.TabPages.Add(_BuilderControl_TabPage0(_UFTabControl));
            _UFTabControl.TabPages.Add(_BuilderControl_TabPage1(_UFTabControl));
            this.TabControl0 = _UFTabControl;
        }

	        private IUFTabPage _BuilderControl_TabPage0(IUFTabControl container)
        {
            IUFTabPage _UFTabPage = UIControlBuilder.BuildTabPageControl(container,"TabPage0",true, true, "1","ad16c26a-0bfe-4b1c-91a5-b0c6bf17491a","b7bbcd1e-79e8-4b23-8a4a-b6e0738a9843");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFTabPage, 12, 4, 0, 5, 5, 5, 5, 5);
			InitViewBindingContainer(this, _UFTabPage,  this.Model.Delivery, "Delivery", "", null, 1, "送货单");
			UIControlBuilder.BuildContainerGridLayout(_UFTabPage, 5,new GridColumnDef[]{new GridColumnDef(150,bool.Parse("True")),new GridColumnDef(5,bool.Parse("True")),new GridColumnDef(150,bool.Parse("True")),new GridColumnDef(20,bool.Parse("True")),new GridColumnDef(150,bool.Parse("True")),new GridColumnDef(5,bool.Parse("True")),new GridColumnDef(150,bool.Parse("True")),new GridColumnDef(20,bool.Parse("True")),new GridColumnDef(149,bool.Parse("True")),new GridColumnDef(5,bool.Parse("True")),new GridColumnDef(149,bool.Parse("True")),new GridColumnDef(1,bool.Parse("False")),},new GridRowDef[]{new GridRowDef(20,bool.Parse("True")),new GridRowDef(20,bool.Parse("True")),new GridRowDef(20,bool.Parse("True")),new GridRowDef(20,bool.Parse("True")),});
            ///foreach UFTab下的所有控件，增加到此容器





				this.lblID83 = UIControlBuilder.BuilderUFLabel(_UFTabPage, "lblID83", "", "False", "True", "Right", 150, 20, 0, 0, 1, 1, "100","52507514-494a-4e12-b775-c78515eca45a","47e40b22-5d34-4f24-8849-13c40cc397f7");


								

		
			UIControlBuilder.BuilderUFControl(this.lblID83, "0");		


				this.ID83 = UIControlBuilder.BuilderNumberControl(_UFTabPage, "ID83", "False", "False", "True", "Left", 7, 60, 0, 150, 20, 0, 0, 1, 1, NumbericType.Numberic, "100",79228162514264337593543950335m, -79228162514264337593543950335m
			,TextAlign.Right,0,true,false,true,"lblID83","8.0","52507514-494a-4e12-b775-c78515eca45a","cfe5b3fe-18cc-4a20-8e2a-c6098b4c428b",null,null,null, null);
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.ID83, "False", "ID", this.Model.Delivery, this.Model.Delivery.FieldID, "Delivery");
	
		
			UIControlBuilder.BuilderUFControl(this.ID83, "1");		
		 

				this.lblSysVersion80 = UIControlBuilder.BuilderUFLabel(_UFTabPage, "lblSysVersion80", "", "False", "True", "Right", 150, 20, 0, 0, 1, 1, "100","f2e07eec-64e3-4969-8b98-36345bb6042c","1d443664-4515-49c9-a630-53ecd31dc1d1");


								

		
			UIControlBuilder.BuilderUFControl(this.lblSysVersion80, "2");		


				this.SysVersion80 = UIControlBuilder.BuilderNumberControl(_UFTabPage, "SysVersion80", "True", "False", "True", "Left", 7, 60, 0, 150, 20, 0, 0, 1, 1, NumbericType.Numberic, "100",79228162514264337593543950335m, -79228162514264337593543950335m
			,TextAlign.Right,0,true,false,true,"lblSysVersion80","8.0","f2e07eec-64e3-4969-8b98-36345bb6042c","0e76b5b4-b6b3-4450-9441-356fdbeedc5b",null,null,null, null);
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.SysVersion80, "False", "SysVersion", this.Model.Delivery, this.Model.Delivery.FieldSysVersion, "Delivery");
	
		
			UIControlBuilder.BuilderUFControl(this.SysVersion80, "3");		
		 

				this.lblDocumentType104 = UIControlBuilder.BuilderUFLabel(_UFTabPage, "lblDocumentType104", "", "True", "True", "Right", 150, 20, 0, 0, 1, 1, "100","f5ab1175-19a2-4700-a372-b2b0897c9a47","abedfabc-5009-49c6-a054-2360e9fb9894");

			UIControlBuilder.SetLabelFormReference(this.lblDocumentType104,"098c3002-6758-4af9-8cac-95872ea60a8a",true,992, 504);
			//foreach input parameter
	    	ScriptBuilder.BuildFormLinkInScript(this.lblDocumentType104,"lblDocumentType104", new FormLinkInParam[]{new FormLinkInParam("ID","","Key","DocumentType104",1), });
			//foreach output set data
	    	ScriptBuilder.BuildFormLinkOutScript(this.lblDocumentType104,"lblDocumentType104", new FormLinkOutParam[]{new FormLinkOutParam("ID","","Key","DocumentType104"),new FormLinkOutParam("Code","","Value","DocumentType104"),new FormLinkOutParam("Name","","Text","DocumentType104"), });
		
								

		
			UIControlBuilder.BuilderUFControl(this.lblDocumentType104, "4");		


				this.DocumentType104 = UIControlBuilder.BuilderRefrenceControl(_UFTabPage,"DocumentType104",true,true, true,150, 20, 2, 0, 1, 1, "100","5",false,false,true,"lblDocumentType104","f5ab1175-19a2-4700-a372-b2b0897c9a47","79cbb97f-05ab-4de6-8d81-040933902192");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.DocumentType104, "False", "DocumentType", this.Model.Delivery, this.Model.Delivery.FieldDocumentType, "Delivery");
			UIControlBuilder.SetReferenceControlRefInfo(this.DocumentType104,"b680aba7-cf8e-4999-bd00-119097de13d7", 580,408, "Name","Code","ID", this.Model.Delivery.FieldDocumentType_Code,this.Model.Delivery.FieldDocumentType_Name);
            //foreach Reference's input filter parameter
            //foreach Reference's output set data, columnID锛屽弬鐓ц繑鍥炲垪鐨凢ieldID
			ScriptBuilder.BuildReferenceControlOuputScript(this.DocumentType104,"DocumentType104",new ReferenceOutputParam[]{new ReferenceOutputParam("","ID",""),new ReferenceOutputParam("","Code",""),new ReferenceOutputParam("","Name",""),new ReferenceOutputParam("","Description",""),new ReferenceOutputParam("DocumentType_DocHeaderSequenceStyle143","DocHeaderSequenceStyle","Value"),new ReferenceOutputParam("","ApproveType",""),new ReferenceOutputParam("","BizType",""),});
		
			this.DocumentType104.ContentChanged += new EventHandler(DocumentType104_TextChanged);
			this.DocumentType104.AutoPostBack = true;
		

		
			UIControlBuilder.BuilderUFControl(this.DocumentType104, "5");		
		 

				this.lblDocNo70 = UIControlBuilder.BuilderUFLabel(_UFTabPage, "lblDocNo70", "", "True", "True", "Right", 150, 20, 0, 1, 1, 1, "100","ebd0753f-95f7-4c31-a2d5-61853d09c618","3acddd9a-05a7-423c-a4e5-8d07214e318a");


								

		
			UIControlBuilder.BuilderUFControl(this.lblDocNo70, "6");		


				this.DocNo70 = UIControlBuilder.BuilderTextBox(_UFTabPage, "DocNo70", "False", "True", "True", "False", "Left", 0, 60, 0, 150, 20, 2, 1, 1, 1, "False", "100"
			,"",TextBoxMode.SingleLine,TextAlign.Left, true,false,"lblDocNo70","","50","ebd0753f-95f7-4c31-a2d5-61853d09c618","04d9e303-e353-4d82-bf79-bf1d492d2206");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.DocNo70, "False", "DocNo", this.Model.Delivery, this.Model.Delivery.FieldDocNo, "Delivery");


		
			UIControlBuilder.BuilderUFControl(this.DocNo70, "7");		
		 

				this.lblBusinessDate122 = UIControlBuilder.BuilderUFLabel(_UFTabPage, "lblBusinessDate122", "", "True", "True", "Right", 150, 20, 0, 2, 1, 1, "100","c04648bc-4cf6-4b1c-9ccd-eef239301421","f97f79d3-114f-4640-8380-b9f710476590");


								

		
			UIControlBuilder.BuilderUFControl(this.lblBusinessDate122, "8");		


				this.BusinessDate122 = UIControlBuilder.BuilderDatePicker(_UFTabPage, "BusinessDate122", false, true, true, "Date","Left", 3, 60, 0, 150, 20, 2, 2, 1, 1, "100",true,false,"lblBusinessDate122","c04648bc-4cf6-4b1c-9ccd-eef239301421","06ffaabe-dbe4-4708-8b06-52ffc61b3489");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.BusinessDate122, "False", "BusinessDate", this.Model.Delivery, this.Model.Delivery.FieldBusinessDate, "Delivery");


		
			UIControlBuilder.BuilderUFControl(this.BusinessDate122, "9");		
		 

				this.lblSupplier149 = UIControlBuilder.BuilderUFLabel(_UFTabPage, "lblSupplier149", "", "True", "True", "Right", 150, 20, 0, 3, 1, 1, "100","8b71b52f-9eda-49a7-bd54-1712957f1be5","55244513-5972-48b8-915a-fd3e1d4a9373");

			UIControlBuilder.SetLabelFormReference(this.lblSupplier149,"a75ec3fa-0408-4482-b8b2-a32e6a78d8a7",true,992, 504);
			//foreach input parameter
	    	ScriptBuilder.BuildFormLinkInScript(this.lblSupplier149,"lblSupplier149", new FormLinkInParam[]{new FormLinkInParam("ID","","Key","Supplier149",1),new FormLinkInParam("SupplierSiteID","","","",1), });
			//foreach output set data
	    	ScriptBuilder.BuildFormLinkOutScript(this.lblSupplier149,"lblSupplier149", new FormLinkOutParam[]{new FormLinkOutParam("ID","","Key","Supplier149"),new FormLinkOutParam("Code","","Value","Supplier149"),new FormLinkOutParam("Name","","Text","Supplier149"),new FormLinkOutParam("OfficialLocationID","","",""),new FormLinkOutParam("OfficialLocationCode","","",""),new FormLinkOutParam("OfficialLocationName","","",""),new FormLinkOutParam("ContactObjectID","","",""),new FormLinkOutParam("ContactObjectCode","","",""),new FormLinkOutParam("ContactObjectName","","",""),new FormLinkOutParam("SupplierSiteID","","",""),new FormLinkOutParam("SupplierSiteCode","","",""),new FormLinkOutParam("SupplierSiteName","","",""),new FormLinkOutParam("ShortName","","",""),new FormLinkOutParam("IsMISC","","",""), });
		
								

		
			UIControlBuilder.BuilderUFControl(this.lblSupplier149, "10");		


				this.Supplier149 = UIControlBuilder.BuilderRefrenceControl(_UFTabPage,"Supplier149",true,true, true,150, 20, 2, 3, 1, 1, "100","11",false,false,true,"lblSupplier149","8b71b52f-9eda-49a7-bd54-1712957f1be5","40b28db5-1414-449b-96e6-6c28810e94b2");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.Supplier149, "False", "Supplier", this.Model.Delivery, this.Model.Delivery.FieldSupplier, "Delivery");
			UIControlBuilder.SetReferenceControlRefInfo(this.Supplier149,"ff4eec54-1077-4fc0-bd2b-3071dc9dc428", 580,408, "","Code","ID", this.Model.Delivery.FieldSupplier_Code,this.Model.Delivery.FieldSupplier_Name);
            //foreach Reference's input filter parameter
            //foreach Reference's output set data, columnID锛屽弬鐓ц繑鍥炲垪鐨凢ieldID
			ScriptBuilder.BuildReferenceControlOuputScript(this.Supplier149,"Supplier149",new ReferenceOutputParam[]{new ReferenceOutputParam("","ID",""),new ReferenceOutputParam("","Code",""),new ReferenceOutputParam("","Name",""),new ReferenceOutputParam("","ShortName",""),new ReferenceOutputParam("Currency125","TradeCurrency_ID","Key"),new ReferenceOutputParam("Currency125","TradeCurrency_Code","Value"),new ReferenceOutputParam("Currency125","TradeCurrency_Name","Text"),new ReferenceOutputParam("","Category_Code",""),new ReferenceOutputParam("","Category_Name",""),});
				

		
			UIControlBuilder.BuilderUFControl(this.Supplier149, "11");		
		 

				this.lblOwnOrg206 = UIControlBuilder.BuilderUFLabel(_UFTabPage, "lblOwnOrg206", "", "True", "True", "Right", 150, 20, 4, 1, 1, 1, "100","f078de31-47d7-46ee-911d-8b5d0a8d6a8a","99c12c8d-4a3e-41b9-964a-45cb832e74c6");


								

		
			UIControlBuilder.BuilderUFControl(this.lblOwnOrg206, "12");		


				this.OwnOrg206 = UIControlBuilder.BuilderRefrenceControl(_UFTabPage,"OwnOrg206",true,true, true,150, 20, 6, 1, 1, 1, "100","13",false,false,true,"lblOwnOrg206","f078de31-47d7-46ee-911d-8b5d0a8d6a8a","0464575f-4195-469f-8bc7-78dd34e4aafd");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.OwnOrg206, "False", "OwnOrg", this.Model.Delivery, this.Model.Delivery.FieldOwnOrg, "Delivery");
			UIControlBuilder.SetReferenceControlRefInfo(this.OwnOrg206,"038046a3-cfb5-4cea-9af1-c0c5195fe2aa", 580,408, "Name","Code","ID", this.Model.Delivery.FieldOwnOrg_Code,this.Model.Delivery.FieldOwnOrg_Name);
            //foreach Reference's input filter parameter
			ScriptBuilder.BuildReferenceControlInputScript(this.OwnOrg206,"OwnOrg206",new ReferenceInputParam[]{new ReferenceInputParam("DateTime1","DateTime","Value","",2),new ReferenceInputParam("DateTime2","DateTime","Value","",2),});
 			//for personal
		 
         				 
         		
            //foreach Reference's output set data, columnID锛屽弬鐓ц繑鍥炲垪鐨凢ieldID
			ScriptBuilder.BuildReferenceControlOuputScript(this.OwnOrg206,"OwnOrg206",new ReferenceOutputParam[]{new ReferenceOutputParam("","ID",""),new ReferenceOutputParam("","Code",""),new ReferenceOutputParam("","Name",""),new ReferenceOutputParam("","ShortName",""),new ReferenceOutputParam("","Description",""),new ReferenceOutputParam("","OrgClassify",""),});
				

		
			UIControlBuilder.BuilderUFControl(this.OwnOrg206, "13");		
		 

				this.lblStatus149 = UIControlBuilder.BuilderUFLabel(_UFTabPage, "lblStatus149", "", "True", "True", "Right", 150, 20, 4, 0, 1, 1, "100","7bb14efd-99b8-4b15-8644-f119e81cc667","695b600f-d005-4877-b082-b732c7a81c3f");


								

		
			UIControlBuilder.BuilderUFControl(this.lblStatus149, "14");		


		        this.Status149 = UIControlBuilder.BuilderDropDownList(_UFTabPage, "Status149", "UFIDA.U9.Cust.U9Demo.DeliverBE.StatusEnum", true,  true, true, "Left", 2, 60, 0, 150, 20, 6, 0, 1, 1, "100",true,false,"lblStatus149","7bb14efd-99b8-4b15-8644-f119e81cc667","56fb510e-03b6-4e24-8234-3b004f4cc61e");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.Status149, "False", "Status", this.Model.Delivery, this.Model.Delivery.FieldStatus, "Delivery");
			EnumTypeList.Add("UFIDA.U9.Cust.U9Demo.DeliverBE.StatusEnum");
			EnumControlsMap.Add(this.Status149, _UFTabPage);
		

		
			UIControlBuilder.BuilderUFControl(this.Status149, "15");		
		 

				this.lblDeliver128 = UIControlBuilder.BuilderUFLabel(_UFTabPage, "lblDeliver128", "", "True", "True", "Right", 150, 20, 4, 2, 1, 1, "100","3bc88032-52c3-4e44-9088-940beefb4e51","a78495d6-5a9c-4c21-89c4-fb2dd742c51f");


								

		
			UIControlBuilder.BuilderUFControl(this.lblDeliver128, "16");		


				this.Deliver128 = UIControlBuilder.BuilderRefrenceControl(_UFTabPage,"Deliver128",true,true, true,150, 20, 6, 2, 1, 1, "100","17",false,false,true,"lblDeliver128","3bc88032-52c3-4e44-9088-940beefb4e51","77481667-03b1-4259-ab65-006acd169c83");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.Deliver128, "False", "Deliver", this.Model.Delivery, this.Model.Delivery.FieldDeliver, "Delivery");
			UIControlBuilder.SetReferenceControlRefInfo(this.Deliver128,"9f2c4026-a9c0-4c6c-8cc4-51e4b99dbca6", 580,408, "Name","Code","ID", this.Model.Delivery.FieldDeliver_Code,this.Model.Delivery.FieldDeliver_Name);
            //foreach Reference's input filter parameter
			ScriptBuilder.BuildReferenceControlInputScript(this.Deliver128,"Deliver128",new ReferenceInputParam[]{new ReferenceInputParam("OperatorType","","","",1),});
 			//for personal
		 		
            //foreach Reference's output set data, columnID锛屽弬鐓ц繑鍥炲垪鐨凢ieldID
			ScriptBuilder.BuildReferenceControlOuputScript(this.Deliver128,"Deliver128",new ReferenceOutputParam[]{new ReferenceOutputParam("","ID",""),new ReferenceOutputParam("","Code",""),new ReferenceOutputParam("","Name",""),new ReferenceOutputParam("","Dept_ID",""),new ReferenceOutputParam("","Dept_Code",""),new ReferenceOutputParam("","Dept_Name",""),new ReferenceOutputParam("","MasterOrg_Name",""),});
				

		
			UIControlBuilder.BuilderUFControl(this.Deliver128, "17");		
		 

				this.lblCurrency125 = UIControlBuilder.BuilderUFLabel(_UFTabPage, "lblCurrency125", "", "True", "True", "Right", 150, 20, 4, 3, 1, 1, "100","89726f4e-1706-44e0-93b7-941beb97635f","aedc00cd-f4a4-4974-a871-ba9c506a8cb6");


								

		
			UIControlBuilder.BuilderUFControl(this.lblCurrency125, "18");		


				this.Currency125 = UIControlBuilder.BuilderRefrenceControl(_UFTabPage,"Currency125",true,true, true,150, 20, 6, 3, 1, 1, "100","19",false,false,true,"lblCurrency125","89726f4e-1706-44e0-93b7-941beb97635f","9e1ae49f-b57d-4d35-92d3-9d108fb92fae");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.Currency125, "False", "Currency", this.Model.Delivery, this.Model.Delivery.FieldCurrency, "Delivery");
			UIControlBuilder.SetReferenceControlRefInfo(this.Currency125,"27f276ae-3cd1-49bc-9e3b-2f3b938bc4d0", 580,408, "Name","Code","ID", this.Model.Delivery.FieldCurrency_Code,this.Model.Delivery.FieldCurrency_Name);
            //foreach Reference's input filter parameter
			ScriptBuilder.BuildReferenceControlInputScript(this.Currency125,"Currency125",new ReferenceInputParam[]{new ReferenceInputParam("DateTime1","","","",1),new ReferenceInputParam("DateTime2","","","",1),});
 			//for personal
		 				 		
            //foreach Reference's output set data, columnID锛屽弬鐓ц繑鍥炲垪鐨凢ieldID
			ScriptBuilder.BuildReferenceControlOuputScript(this.Currency125,"Currency125",new ReferenceOutputParam[]{new ReferenceOutputParam("","ID",""),new ReferenceOutputParam("","Code",""),new ReferenceOutputParam("","Name",""),new ReferenceOutputParam("","ISOCode",""),new ReferenceOutputParam("","Symbol",""),new ReferenceOutputParam("","PriceRound_Precision",""),new ReferenceOutputParam("","PriceRound_RoundType",""),new ReferenceOutputParam("","PriceRound_RoundValue",""),new ReferenceOutputParam("","MoneyRound_Precision",""),new ReferenceOutputParam("","MoneyRound_RoundType",""),new ReferenceOutputParam("","MoneyRound_RoundValue",""),});
				

		
			UIControlBuilder.BuilderUFControl(this.Currency125, "19");		
		 

				this.FlexFieldPicker0 = UIControlBuilder.BuilderFlexFieldPicker(_UFTabPage, "FlexFieldPicker0", "True", "True", "True", "Left", 0, "", '.', 60, 0, 149, 20, 8, 3, 1, 1, "100"
				,FlexFieldType.Key,true,false,"","","","083918c4-50a0-4004-9a76-5ac3f38dae57");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.FlexFieldPicker0, "False", "", null, null, "");
			if(this.FlexFieldPicker0.FlexFieldType==FlexFieldType.Key)
			{

			}
			else
			{		
					}
								

		
			UIControlBuilder.BuilderUFControl(this.FlexFieldPicker0, "20");		
		 

				this.lblDocumentType_DocHeaderSequenceStyle143 = UIControlBuilder.BuilderUFLabel(_UFTabPage, "lblDocumentType_DocHeaderSequenceStyle143", "", "False", "True", "Right", 149, 20, 0, 0, 1, 1, "100","a3dab829-44d0-49f0-b01b-f2af185e249c","0d167bbd-bcc8-4bda-8844-cf0cd7be95e9");


								

		
			UIControlBuilder.BuilderUFControl(this.lblDocumentType_DocHeaderSequenceStyle143, "21");		


		        this.DocumentType_DocHeaderSequenceStyle143 = UIControlBuilder.BuilderDropDownList(_UFTabPage, "DocumentType_DocHeaderSequenceStyle143", "UFIDA.U9.Base.Doc.DocHeaderSequenceStyleEnum", false,  false, true, "Left", 2, 60, 0, 149, 20, 0, 0, 1, 1, "100",true,false,"lblDocumentType_DocHeaderSequenceStyle143","a3dab829-44d0-49f0-b01b-f2af185e249c","93a3c9bd-c469-4070-976f-1994243b6330");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.DocumentType_DocHeaderSequenceStyle143, "False", "DocumentType_DocHeaderSequenceStyle", this.Model.Delivery, this.Model.Delivery.FieldDocumentType_DocHeaderSequenceStyle, "Delivery");
			EnumTypeList.Add("UFIDA.U9.Base.Doc.DocHeaderSequenceStyleEnum");
			EnumControlsMap.Add(this.DocumentType_DocHeaderSequenceStyle143, _UFTabPage);
		

		
			UIControlBuilder.BuilderUFControl(this.DocumentType_DocHeaderSequenceStyle143, "22");		
		 


						
			this.DocumentType104.IsMultiOrg  = false ;
			this.lblDocumentType104.SetMultiOrgInfo(this.DocumentType104,false);
			
						
			this.Supplier149.IsMultiOrg  = false ;
			this.lblSupplier149.SetMultiOrgInfo(this.Supplier149,false);
			
		
			this.OwnOrg206.IsMultiOrg  = false ;
			this.lblOwnOrg206.SetMultiOrgInfo(this.OwnOrg206,false);
			
				
			this.Deliver128.IsMultiOrg  = false ;
			this.lblDeliver128.SetMultiOrgInfo(this.Deliver128,false);
			
		
			this.Currency125.IsMultiOrg  = false ;
			this.lblCurrency125.SetMultiOrgInfo(this.Currency125,false);
			
			

            this.TabPage0 = _UFTabPage;
            return _UFTabPage;
        }

				

				

				

				

				

	        private IUFTabPage _BuilderControl_TabPage1(IUFTabControl container)
        {
            IUFTabPage _UFTabPage = UIControlBuilder.BuildTabPageControl(container,"TabPage1",true, true, "2","19aebed7-d5db-44a7-a49b-8ac7f6d6377c","19aebed7-d5db-44a7-a49b-8ac7f6d6377c");
            CommonBuilder.ContainerGridLayoutPropBuilder(_UFTabPage, 3, 1, 0, 5, 5, 5, 5, 5);
			InitViewBindingContainer(this, _UFTabPage,  this.Model.Delivery, "Delivery", "", null, 1, "送货单");
			UIControlBuilder.BuildContainerGridLayout(_UFTabPage, 5,new GridColumnDef[]{new GridColumnDef(150,bool.Parse("True")),new GridColumnDef(5,bool.Parse("True")),new GridColumnDef(799,bool.Parse("False")),},new GridRowDef[]{new GridRowDef(115,bool.Parse("False")),});
            ///foreach UFTab下的所有控件，增加到此容器





				this.lblMemo80 = UIControlBuilder.BuilderUFLabel(_UFTabPage, "lblMemo80", "", "True", "True", "Right", 150, 115, 0, 0, 1, 1, "100","8ee34f3c-f7b4-4385-95ba-82931ff88060","c8e88b32-78da-4c7c-9162-0a0a971ee9c3");


								

		
			UIControlBuilder.BuilderUFControl(this.lblMemo80, "0");		


				this.Memo80 = UIControlBuilder.BuilderTextBox(_UFTabPage, "Memo80", "True", "True", "True", "True", "Left", 0, 60, 0, 799, 115, 2, 0, 1, 1, "False", "100"
			,"",TextBoxMode.MultiLine,TextAlign.Left, true,false,"lblMemo80","","2000","8ee34f3c-f7b4-4385-95ba-82931ff88060","2c87a8bb-9c49-47db-9dd0-8f8091963d60");
			UIControlBuilder.BuilderUIFieldBindingControl(this, this.Memo80, "False", "Memo", this.Model.Delivery, this.Model.Delivery.FieldMemo, "Delivery");


		
			UIControlBuilder.BuilderUFControl(this.Memo80, "1");		
		 


		

            this.TabPage1 = _UFTabPage;
            return _UFTabPage;
        }

				





       
        private void _BuilderControl_DataGrid9(IUFContainer container)
        {
            IUFDataGrid _UFGrid = UIControlBuilder.BuildGridControl("DataGrid9", UFSoft.UBF.UI.ControlModel.EditStatus.Edit, true, true,true,true,true,true,50,false, false) ;
  			UIControlBuilder.BuilderUFControl(_UFGrid, "True", "True", "2");
			CommonBuilder.GridLayoutPropBuilder(container, _UFGrid, 972, 256, 0, 1, 2, 2, "100");
			InitViewBindingContainer(this, _UFGrid,  this.Model.Delivery_DeliveryLine, "Delivery_DeliveryLine", "", null, 50, "送货单.Misc.送货单行");
			((UFSoft.UBF.UI.WebControlAdapter.UFWebDataGridAdapter)_UFGrid).PagingStrategy=UFSoft.UBF.UI.ControlModel.GridPagingStrategy.Auto;
			_UFGrid.AllowSelectAllPage=false;
			((UFSoft.UBF.UI.WebControls.UFGrid)_UFGrid).IsSumAllData=false;
		        ((UFSoft.UBF.UI.WebControls.UFGrid)_UFGrid).IsSumSelectedData=false;
            this.DataGrid9 = _UFGrid;
            container.Controls.Add(_UFGrid);



			IUFDataGridColumn column ;
			GridColumn gridColumn ;
	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"ID84","NumberColumnModel", "", 0,this.Model.Delivery_DeliveryLine.Fields["ID"]/*ID*/,"ID", true, false, true, false, false, false, 7, 100, "19.0",true, false,"","8e7d8540-4827-4b2d-8eaf-40eef70e4b9b","8e7d8540-4827-4b2d-8eaf-40eef70e4b9b","4ea86457-d533-4d6d-82f1-ceba9954d8d1");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"SysVersion81","NumberColumnModel", "", 0,this.Model.Delivery_DeliveryLine.Fields["SysVersion"]/*SysVersion*/,"SysVersion", false, false, true, false, false, true, 7, 100, "19.0",true, false,"0","44533cad-4ac3-4830-9771-a96f6538fbe8","44533cad-4ac3-4830-9771-a96f6538fbe8","bac15b3d-8fbc-490c-b398-c6abe2fcbd61");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"DocLineNo0","NumberColumnModel", "", 0,this.Model.Delivery_DeliveryLine.Fields["DocLineNo"]/*DocLineNo*/,"DocLineNo", false, true, false, false, false, true, 2, 60, "10.0",true, false,"0","bddabe50-f563-4be9-bb23-d6db41fc5c89","bddabe50-f563-4be9-bb23-d6db41fc5c89","298127f3-dd37-4bd7-9974-a423c67b2894");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"Item0","ReferenceColumnModel", "", 0,this.Model.Delivery_DeliveryLine.Fields["Item"]/*Item*/,"Item", false, true, true, false, false, false, 7, 130, "19.0",true, false,"","9f73ac1e-fea5-4d3a-ab12-3101fb34a38d","9f73ac1e-fea5-4d3a-ab12-3101fb34a38d","8370f70a-373f-41cb-9862-e2535f58f38d");
			GridControlBuilder.GridReferenceColumnBuilder((IUFFldReferenceColumn)column, ColumnTextAlign.Right, "ID", "Code", "Name", this.Model.Delivery_DeliveryLine.FieldItem_Code/*Item_Code*/, this.Model.Delivery_DeliveryLine.FieldItem_Name/*Item_Name*/, "99c5294a-ea84-41ad-85f6-485d6da895a9"
			,false,true,580,408);
            ((IUFFldReferenceColumn)column).CtrlId = "8370f70a-373f-41cb-9862-e2535f58f38d";
 			((IUFFldReferenceColumn)column).IsMultiOrg  = false ;
           //foreach Reference's input filter parameter

            //foreach Reference's output set data
							
            ((IUFFldReferenceColumn)column).RefRelations.Add(new UFRefRelationAdapter("ID", "Uom", "Key"));
							
            ((IUFFldReferenceColumn)column).RefRelations.Add(new UFRefRelationAdapter("Code", "Uom", "Value"));
							
            ((IUFFldReferenceColumn)column).RefRelations.Add(new UFRefRelationAdapter("Name", "Uom", "Text"));
							
							
							
            ((IUFFldReferenceColumn)column).RefRelations.Add(new UFRefRelationAdapter("PurchaseUOM_ID", "Uom", "Key"));
							
            ((IUFFldReferenceColumn)column).RefRelations.Add(new UFRefRelationAdapter("PurchaseUOM_Code", "Uom", "Value"));
							
            ((IUFFldReferenceColumn)column).RefRelations.Add(new UFRefRelationAdapter("PurchaseUOM_Name", "Uom", "Text"));
							
            ((IUFFldReferenceColumn)column).ApplyRefRelations();
			  
			gridColumn = GridControlBuilder.BuildGridColumnFormReference(column,"053a1be3-2c56-428b-b221-b5291644f2cb",true,992,504);
            //foreach input parameter
				
									gridColumn.FormReference.Parameters.Add(new LinkParameter("ID","Item",enuBindingType.column,enuBindingPropertyType.Key));
					
				

				
            //foreach output set data
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
			gridColumn.FormReference.Result.Add(new LinkParameter("ID","Item",enuBindingType.column,enuBindingPropertyType.Key));
				
			gridColumn.FormReference.Result.Add(new LinkParameter("Code","Item",enuBindingType.column,enuBindingPropertyType.Value));
				
			gridColumn.FormReference.Result.Add(new LinkParameter("Name","Item",enuBindingType.column,enuBindingPropertyType.Text));
				
				
				
				
				
				
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"Uom0","ReferenceColumnModel", "", 0,this.Model.Delivery_DeliveryLine.Fields["Uom"]/*Uom*/,"Uom", false, true, true, false, false, false, 7, 100, "19.0",true, false,"","04058553-db12-47a2-aac6-a41e01360800","04058553-db12-47a2-aac6-a41e01360800","7b6d7179-95e1-4bdd-acbe-21bfd2878a49");
			GridControlBuilder.GridReferenceColumnBuilder((IUFFldReferenceColumn)column, ColumnTextAlign.Right, "ID", "Code", "Name", this.Model.Delivery_DeliveryLine.FieldUom_Code/*Uom_Code*/, this.Model.Delivery_DeliveryLine.FieldUom_Name/*Uom_Name*/, "2cb04e9c-44df-44e8-b518-f1ce0ba1e2cd"
			,false,true,580,408);
            ((IUFFldReferenceColumn)column).CtrlId = "7b6d7179-95e1-4bdd-acbe-21bfd2878a49";
 			((IUFFldReferenceColumn)column).IsMultiOrg  = false ;
           //foreach Reference's input filter parameter
							
									
			((IUFFldReferenceColumn)column).AddReferenceInParameter("DateTime1", "DateTime", "Context");
								

									
			((IUFFldReferenceColumn)column).AddReferenceInParameter("DateTime2", "DateTime", "Context");
								
						
            //foreach Reference's output set data
							
							
							
							
							
							
							
							
							
							
							
							
            ((IUFFldReferenceColumn)column).ApplyRefRelations();
			  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"Qty0","NumberColumnModel", "", 2,this.Model.Delivery_DeliveryLine.Fields["Qty"]/*Qty*/,"Qty", false, true, true, false, false, true, 8, 100, "24.9",true, false,"0","ebbf2cd2-25fa-4578-8772-424862a84ae6","ebbf2cd2-25fa-4578-8772-424862a84ae6","06e597ae-5105-4ba1-b1be-d783c307d62a");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"Price0","NumberColumnModel", "", 4,this.Model.Delivery_DeliveryLine.Fields["Price"]/*Price*/,"Price", false, true, true, false, false, true, 8, 100, "24.9",true, false,"0","2f8eeb81-16ea-471a-a97b-17c18c7a2ee6","2f8eeb81-16ea-471a-a97b-17c18c7a2ee6","892581f0-68b9-4529-bf01-641d072d6bfe");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"Amount0","NumberColumnModel", "", 4,this.Model.Delivery_DeliveryLine.Fields["Amount"]/*Amount*/,"Amount", false, true, true, false, false, true, 8, 100, "24.9",true, false,"0","7caafaf4-b643-4bba-ab0b-27aed35aad62","7caafaf4-b643-4bba-ab0b-27aed35aad62","fd0d6e3f-ea6e-4cd2-8d8e-0a1f8410f59d");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"Wh0","ReferenceColumnModel", "", 0,this.Model.Delivery_DeliveryLine.Fields["Wh"]/*Wh*/,"Wh", false, true, true, false, false, true, 7, 100, "19.0",true, false,"","99ac3366-c501-4259-a727-892bb6726191","99ac3366-c501-4259-a727-892bb6726191","9bde95b7-472c-472f-abfc-dbbb1cb19619");
			GridControlBuilder.GridReferenceColumnBuilder((IUFFldReferenceColumn)column, ColumnTextAlign.Right, "ID", "Code", "Name", this.Model.Delivery_DeliveryLine.FieldWh_Code/*Wh_Code*/, this.Model.Delivery_DeliveryLine.FieldWh_Name/*Wh_Name*/, "1dc5d0ff-a06e-4dd8-a056-f1b266104b57"
			,false,true,580,408);
            ((IUFFldReferenceColumn)column).CtrlId = "9bde95b7-472c-472f-abfc-dbbb1cb19619";
 			((IUFFldReferenceColumn)column).IsMultiOrg  = false ;
           //foreach Reference's input filter parameter

            //foreach Reference's output set data
							
							
							
							
							
            ((IUFFldReferenceColumn)column).ApplyRefRelations();
			  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"ArrivedQty0","NumberColumnModel", "", 2,this.Model.Delivery_DeliveryLine.Fields["ArrivedQty"]/*ArrivedQty*/,"ArrivedQty", false, true, false, false, false, true, 8, 100, "24.9",true, false,"0","0475878e-903a-447c-bfc5-12d452be8551","0475878e-903a-447c-bfc5-12d452be8551","70dd56e9-c765-4008-9723-5cce4f343cae");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"RcvQty0","NumberColumnModel", "", 2,this.Model.Delivery_DeliveryLine.Fields["RcvQty"]/*RcvQty*/,"RcvQty", false, true, false, false, false, true, 8, 100, "24.9",true, false,"0","62518f8b-0a5e-4955-b5e1-93533c0cb694","62518f8b-0a5e-4955-b5e1-93533c0cb694","ca94309a-0d4b-44e5-964f-07b2c24208a8");
			GridControlBuilder.GridNumberColumnBuilder((IUFNumberColumn)column, NumbericType.Numberic, 79228162514264337593543950335m, -79228162514264337593543950335m, null, null, null, null
			,true,"",false,"1","1");
	  
		 	                     
			column = GridControlBuilder.GridColumnBuilder(_UFGrid,"TextBoxColumn0","TextBoxColumnModel", "", 0,null,"", false, true, true, false, false, true, 0, 100, "",true, false,"","","","fe6c601b-b064-40ec-8ce1-e4b1c73c0410");
         
			GridControlBuilder.GridTextBoxColumnBuilder((IUFTextBoxColumn)column,"",TextAlign.Left, false,"",false,"1","1","") ;          
	  
		 
        }





		#endregion
		

	}
}
